package com.chzu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.nutz.dao.entity.annotation.Name;

/**
 * @author liangzhuo
 * @create 2021-10-25-19:17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("datasource")
public class Tables {
    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    @TableField("table_name")
    private String tableName;

    @TableLogic("is_active")
    private String isActive;
}
